package com.jie.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author XieZhiJie
 * @create 2020-10-01 23:00
 */
@EnableFeignClients  // 远程调用
@EnableDiscoveryClient  // nacos服务注册
@ComponentScan(basePackages = {"com.jie"})  // 扫描这个包下的所有类
// 扫描mapper放在配置类里好了
@SpringBootApplication
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
